package com.time;

import java.util.Calendar;
import java.util.Date;


public class TimeDemo {
	public static void main(String[] args) {
		
		long l=System.currentTimeMillis();
		System.out.println();
	
		l=1497231566682l;
		Date tt=new Date(l);
		Calendar c=Calendar.getInstance();
//		c.setTime(tt);
		c.setTimeInMillis(l);
		int i=c.get(Calendar.MINUTE);
		System.out.println(i);
		
	
		
	}

}
